<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<link type="text/css" rel="stylesheet" href="<%=basePath%>statics/js/plug/jbox/jBox.css"/>
<script type="text/javascript" src="<%=basePath %>statics/js/plug/jquery.validate.js"></script>
<script type="text/javascript" src="<%=basePath%>/statics/js/plug/jbox/jBox.js"></script>
<script type="text/javascript" src="<%=basePath%>/statics/js/app/logRelation/app_log_relation_edit.js"></script>
<form id="updateForm">
	<input id="id" name="id" type="hidden" value="${bean.id}">
    <table>
        <tr>
            <td class="attr"><span>数据变更的表：</span></td>
            <td><input id="targetTable" type="text" name="targetTable" value="${bean.targetTable}"></td>
        </tr>
        <tr>
            <td class="attr"><span>变更的数据id：</span></td>
            <td><input id="targetId" type="text" name="targetId" value="${bean.targetId}"></td>
        </tr>
        <tr>
            <td class="attr"><span>表名，当TARGET_TABLE为中间表时，SOURCE_TABLE指主关联表，当TARGET_TABLE不是中间表时，SOURCE_TABLE等于TARGET_TABLE：</span></td>
            <td><input id="sourceTable" type="text" name="sourceTable" value="${bean.sourceTable}"></td>
        </tr>
        <tr>
            <td class="attr"><span>变更的数据id：</span></td>
            <td><input id="source Id" type="text" name="source Id" value="${bean.source Id}"></td>
        </tr>
        <tr>
            <td class="attr"><span>关联的表名：</span></td>
            <td><input id="relationTable" type="text" name="relationTable" value="${bean.relationTable}"></td>
        </tr>
        <tr>
            <td class="attr"><span>变更的数据id：</span></td>
            <td><input id="relation Id" type="text" name="relation Id" value="${bean.relation Id}"></td>
        </tr>
        <tr>
            <td class="attr"><span>数据变更时间：</span></td>
            <td><input id="changeTime" type="text" name="changeTime" value="${bean.changeTime}"></td>
        </tr>
        <tr>
            <td class="attr"><span>操作，1：添加，2：编辑，3：删除：</span></td>
            <td><input id="method" type="text" name="method" value="${bean.method}"></td>
        </tr>
    </table>
</form>
